//
//  NSObject+KVO.h
//  KVO实现机制
//
//  Created by MyMac on 15/8/28.
//  Copyright (c) 2015年 tongfang. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^CallBlock) (id key,id newValue,id oldValue);
@interface NSObject (KVO)

-(void)addobserver:(NSObject*)object andKey:(NSString*)key andBlock:(CallBlock)block;
@end
